package cn.johnyu.demo.dao;

import cn.johnyu.demo.pojo.Book;

import java.util.List;

public interface BookDao {
    List<Book> findAll();
    Book findById(int id);
    void save(Book book);
}
